﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;


namespace JMDCMS.Library.Web
{
    public class WebPartBase : UserControl, IWebPart
    {
        #region IWebPart Members

        private string _catalogIconImageUrl = "img/CatalogIconImage.gif";
        public string CatalogIconImageUrl
        {
            get
            {
                return _catalogIconImageUrl;
            }
            set
            {
                _catalogIconImageUrl = value;
            }
        }

        private string _description = "[Webpart Description]";
        public string Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }

        private string _subtitle = "[Webpart Subtitle]";
        public string Subtitle
        {
            get { return _subtitle; }
            set { _subtitle = value;}
        }

        private string _title = "[Webpart Title]";
        public string Title
        {
            get
            {
                  return _title;
            }
            set
            {
                _title = value;
            }
        }

        private string _titleIconImageUrl = "img/TitleIconImage.gif";
        public string TitleIconImageUrl
        {
            get
            {
                return _titleIconImageUrl;
            }
            set
            {
                _titleIconImageUrl = value;
            }
        }

        private string _titleUrl = "http://www.jmdcms.com";
        public string TitleUrl
        {
            get
            {
                return _titleUrl;
            }
            set
            {
                _titleUrl = value;
            }
        }

        #endregion
    }
}
